package com.example.dayu521.sg_oss;

import com.alibaba.cloud.stream.binder.rocketmq.constant.RocketMQConst;
import com.example.dayu521.sg_oss.domain.msg.SimpleMsg;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.function.StreamBridge;
import org.springframework.context.annotation.Bean;
import org.springframework.messaging.Message;
import org.springframework.messaging.MessageHeaders;
import org.springframework.messaging.support.MessageBuilder;
import org.springframework.stereotype.Component;
import org.springframework.util.MimeTypeUtils;

import java.util.function.Consumer;
import java.util.function.Function;

@SpringBootApplication
@EnableFeignClients
@Slf4j
public class SgOssApplication {

    public static void main(String[] args) {
        SpringApplication.run(SgOssApplication.class, args);
    }
}
